





 ****************************************************************************
 **                                                                        **
 **                               Dir2File/CMD                             **
 **                                                                        **
 ****************************************************************************
                            (Directory to a File)
                               by Anthony Kazee
                                  (11/13/85)
      This is a utility program for  the  slightly  sophisticated  user  of  a
TRS-80  Model  IV with the TRSDOS 6.02.xx operating system. It requires 64k of
memory and at least one disk drive. It  also  supports  HARD  DISKS,  DISKdisk
(pseudo disk) and MEMDISK!
      Dir2File  creates a data file of program names. You will be prompted for
a name to call this data set. Then you will be asked for  the  number  of  the
drive whose directory is to be read. If you desire you may append a suffix and
a prefix to the file name that appears in the target directory. The appendages
are optional and may be bypassed by pressing enter without any data. Next, you
will  be  asked  which  types  of  files you wish to include in the data file,
system, invisible or visible. You will also be asked  if  the  program  should
supress password protected file names from being included into the file.
      The  file  that  Dir2File  creates  is  readable by virtually any TRS-80
programming language (or word  processor)  since  its  format  is  that  of  a
sequential  access  file. Each entry is variable length and is terminated by a
carriage return (X'0D'). The program is very simple to run and is quite  fast.
Since  all  parameter queries are prompted a great deal of explaination should
not be necessary.
      Some possible uses for this program are as follows.........

JCL CONSTRUCTION                      PREFIX          FILENAME        SUFFIX
----------------                      --------------  --------------  -------
File transfer JCL                     XMODEM S        MYPROG          :0
                                      XMODEM R        MYPROG          :1
File copy JCL                         COPY            MYPROG          :0 :3
File removal JCL                      REMOVE          MYPROG          :0
File Name Data Base                   DISK 001        MYPROG          40tk
    To locate lost files
    Identify duplicates
File Indexing
    The data created can be manipulated by
    a programming language to create a
    custom disk file indexing system.
      Any information on new found applications or desired enhancements may be
forwarded to me (address below). This software is distributed using  SHAREWARE
concept. You are ENCOURAGED to share this program with others! If you find the
program  useful  you might consider a donation to the author to help encourage
his support of the TRS 80 Model IV family of computers.

                                Microtechnics
                             Attn: Anthony Kazee
                              6780 Laronda Lane
                           Las Vegas, Nevada 89115
                            //// END OF FILE ////
  -